<!DOCTYPE html>
<html xmlns:javascript="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>退货处理</title>
    <style type="text/css">
        td{
            height: 25px;
            width: 100px;
            border: #3a8ee6 1px solid;

        }
        input{
            height: 21px;
        }
    </style>

    <script type="text/javascript" src="../../js/jquery-1.11.0.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script type="text/javascript" src="../../js/03/drug09/find.js"></script>
    <script type="text/javascript" src="../../js/fenye/fenye.js"></script>
    <script type="text/javascript" src="../../js/fenye/cengci.js"></script>
    <script type="text/javascript" src="../../js/fenye/leibie.js"></script>
    <script type="text/javascript" src="../../js/03/weihu/time.js"></script>

    <script type="text/javascript">
            $(function () {
                    gets(1)
            })
    </script>
</head>
<body>
<div>
    <form id="more-info-dialog">
        <table class="" style="border: 1px solid #999;border-collapse:collapse">
            <tr>
                <h3 style="height: 50px" >结算单处理</h3></tr>


            </tr>
            <tr>
                <td>结算单编号：</td>
                <td><input id="sNumber" name="sNumber" type="text" value="">
                    <input  id="pageNum" name="pageNum" type="hidden" value="">
                </td>
                <td></td>
                <td>结算单名称：</td>
                <td><input id="sName" name="sName" type="text" value=""></td>
                <td></td>
            </tr>
            <tr>
                <td>结算状态：</td>
                <td>
                    <select id="state" name="state" style=" height: 25px; width: 178px;">
                        <option value="0">未确认结算</option>
                        <option value="1">确认结算</option>
                    </select>
                </td>
                <td></td>
                <td>结算时间：</td>
                <td><input id="lefTime" name="sSettlingLeftTime" style="width: 80px" type="date" value="">至
                    <input id="rightTime" name="sSettlingRightTime" style="width: 80px" type="date" value="" onblur="gonghuo()"></td>
                <td></td>
            </tr>
            <tr>
                <td>下单医院：</td>
                <td><input id="poUId" name="poUId" type="text" value=""></td>
                <td></td>
                <td>采购时间：</td>
                <td><input id="lefTime1" name="sEstablishmentLeftTime" style="width: 80px" type="date" value="">至
                    <input id="rightTime1" name="sEstablishmentRightTime" style="width: 80px" type="date" value="" onblur="gonghuo1()"></td>
                <td></td>
            </tr>
            <tr>
                <td>对应采购单编号：</td>
                <td><input name="poNumber" id="poNumber" type="text" value=""></td>
                <td></td>
                <td>对应采购单名称：</td>
                <td><input name="poName" id="poName" type="text" value=""></td>
                <td></td>
            </tr>
            <tr>
                <td>药品流水号：</td>
                <td><input id="diNumer" name="diNumer"  type="text" value=""></td>
                <td></td>
                <td>通用名：</td>
                <td><input id="diName" name="diName" type="text" value=""></td>
                <td></td>
            </tr>
            <tr>
                <td>剂型：</td>
                <td><input id="diForm" name="diForm" type="text" value=""></td>
                <td></td>
                <td >规格:</td>
                <td><input id="diSpecifications" name="diSpecifications"  type="text" value=""></td>
                </td>
                <td></td>
            </tr>
            <tr>
                <td>单位：</td>
                <td><input id="diUnit" name="diUnit"  type="text" value=""></td>
                <td></td>
                <td>转换系数：</td>
                <td><input id="diCc" name="diCc"  type="text" value=""></td>
                <td></td>
            </tr>
            <tr>
                <td>生产企业：</td>
                <td><input id="daMName" name="daMName" type="text" value=""></td>
                <td></td>
                <td >商品名:</td>
                <td><input id="daName" name="daName"  type="text" value=""></td>
                </td>
                <td></td>
            </tr>
            <tr>
                <td>质量层次：</td>
                <td>
                    <select id="cengci" name="diDqlName" style=" height: 25px; width: 160px;">
                        <option value="">全部</option>
                    </select>
                </td>
                <td></td>
                <td >药品类别:</td>
                <td>
                    <select id="dcid" name="diDaCategory" style=" height: 25px; width: 178px;">
                        <option value="">请选择</option>
                    </select>
                </td>
                <td></td>
            </tr>
        </table>

    </form>
    <td>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="reset" onclick="gets(1)">查询</button>
        <a href="/myspringboot/SettlementController/findAllExport"><button>导出</button></a>
    </td><br>
    <td><button onclick="show()">确认结算</button></td>

    <table>
        <tr>
            <td>序号</td>
            <td><input  onclick="selectAll(this)" type="checkbox">选择</td>
            <td>结算单编号</td>
            <td>结算单名称</td>
            <td>下单医院</td>
            <td>开始采购时间</td>
            <td>结束采购时间</td>
            <td>对应采购单名称</td>
            <td>对应采购单编号</td>
            <td>流水号</td>
            <td>通用名</td>
            <td>商品名</td>
            <td>剂型</td>
            <td>规格</td>
            <td>单位</td>
            <td>转换系数</td>
            <td>质量层次</td>
        </tr>
        <tbody class="a">
        </tbody>
    </table>

</div>
<div class="im-page" id="impage">
    <tr>
        <td><button id='first'>首页</button></td>
        <td><button id='before'>上一页</button></td>
        <td>第<span id="pnum"></span>页</td>
        <td>共<span id="ptotal"></span>页</td>
        <td><button  id='next'>下一页</button></td>
        <td><button id='last'>尾页</button></td>
    </tr>
</div>



<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    发货单导入
                </h4>
            </div>
            <form action="/myspringboot/DeliveryController/inputExcel" enctype="multipart/form-data" method="post" accept-charset="utf-8">
                <div class="modal-body">
                    下载导入模板文件 <a href="/myspringboot/DeliveryController/download">点击下载发货信息导入模板</a>
                    <hr>
                    提示:请下载后在模板文件中录入发货信息,在下边的"选择文件"中选择要导入的文件,点击"导入"
                    <input type="file" name="file" accept=".xlsx"><br>
                    <a><button type="submit">导入</button></a>
                    <a javascript:;><button>查看导入失败结果</button></a>
                    <a>
                        <button type="button" data-dismiss="modal">关闭</button>
                    </a>
                </div>
            </form>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary">
                    提交更改
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>
